package com.obas.model.business;

/**
 * 电路对象
 */
public class Circuit extends Entity {

	/**
	 *
	 */
	private static final long serialVersionUID = 3542864978841598032L;

	public static final String ATTRIBUTE_AENDAREAID = "aendAreaId";
	public static final String ATTRIBUTE_AENDSUBAREAID = "aendSubareaId";
	public static final String ATTRIBUTE_AENDDIVISIONID = "aendDivisionId";
	public static final String ATTRIBUTE_AENDSUBDIVISIONID = "aendSubdivisionId";

	public static final String ATTRIBUTE_AENDSITEID = "aendSiteId";
	public static final String ATTRIBUTE_AENDROOMID = "aendRoomId";

	public static final String ATTRIBUTE_ZENDAREAID = "zendAreaId";
	public static final String ATTRIBUTE_ZENDSUBAREAID = "zendSubareaId";
	public static final String ATTRIBUTE_ZENDDIVISIONID = "zendDivisionId";
	public static final String ATTRIBUTE_ZENDSUBDIVISIONID = "zendSubdivisionId";

	public static final String ATTRIBUTE_ZENDSITEID = "zendSiteId";
	public static final String ATTRIBUTE_ZENDROOMID = "zendRoomId";

	public static final String ATTRIBUTE_AENDPORTID = "aendPortId";

	public static final String ATTRIBUTE_ZENDPORTID = "zendPortId";

	public static final String COLUMN_AENDAREA_ID = "AENDAREA_ID";
	public static final String COLUMN_AENDSUBAREA_ID = "AENDSUBAREA_ID";
	public static final String COLUMN_AENDDIVISION_ID = "AENDDIVISION_ID";
	public static final String COLUMN_AENDSUBDIVISION_ID = "AENDSUBDIVISION_ID";

	public static final String COLUMN_AENDSITE_ID = "AENDSITE_ID";
	public static final String COLUMN_AENDROOM_ID = "AENDROOM_ID";

	public static final String COLUMN_ZENDAREA_ID = "ZENDAREA_ID";
	public static final String COLUMN_ZENDSUBAREA_ID = "ZENDSUBAREA_ID";
	public static final String COLUMN_ZENDDIVISION_ID = "ZENDDIVISION_ID";
	public static final String COLUMN_ZENDSUBDIVISION_ID = "ZENDSUBDIVISION_ID";

	public static final String COLUMN_ZENDSITE_ID = "ZENDSITE_ID";
	public static final String COLUMN_ZENDROOM_ID = "ZENDROOM_ID";

	public static final String COLUMN_AENDDEVICE_ID = "AENDDEVICE_ID";
	public static final String COLUMN_ZENDDEVICE_ID = "ZENDDEVICE_ID";

	public static final String COLUMN_AENDPORT_ID = "AENDPORT_ID";
	public static final String COLUMN_ZENDPORT_ID = "ZENDPORT_ID";

	// private short lifecycleStatus;
	// private short physicalStatus;
	// private short businessStatus;
	// private short reserveStatus;
	// private short adjustmentStatus;

	// private String assetCode;

	// private Date manufactureDate;

	// /** 入网日期 */
	// private Date onlineDate;

	// private long sectionId;

	// private short rate;

	// private short topoLinkType;
	// private int linksLabel;
	// private short linksLabelType;

	private long aendAreaId;
	private Location aendArea;

	private long aendSubareaId;
	private Location aendSubarea;

	private long aendDivisionId;
	private Location aendDivision;

	private long aendSubdivisionId;
	private Location aendSubdivision;

	/** 关联A端局站 */
	private long aendSiteId;
	private Location aendSite;

	/** 关联A端机房 */
	private long aendRoomId;
	private Location aendRoom;

	/** 关联A端设备 */
	private long aendDeviceId;
	private Device aendDevice;

	private long zendAreaId;
	private Location zendArea;

	private long zendSubareaId;
	private Location zendSubarea;

	private long zendDivisionId;
	private Location zendDivision;

	private long zendSubdivisionId;
	private Location zendSubdivision;

	/** 关联Z端局站 */
	private long zendSiteId;
	private Location zendSite;

	/** 关联Z端机房 */
	private long zendRoomId;
	private Location zendRoom;

	/** 关联Z端设备 */
	private long zendDeviceId;
	private Device zendDevice;

	/** 关联A端端口 */
	private long aendPortId;
	private Port aendPort;

	/** 关联Z端端口 */
	private long zendPortId;
	private Port zendPort;

	private int ordinal;

	/**
	 * @return the aendPortId
	 */
	public long getAendPortId() {
		return aendPortId;
	}

	/**
	 * @param aendPortId
	 *            the aendPortId to set
	 */
	public void setAendPortId(long aendPortId) {
		this.aendPortId = aendPortId;
	}

	/**
	 * @return the aendPort
	 */
	public Port getAendPort() {
		return aendPort;
	}

	/**
	 * @param aendPort
	 *            the aendPort to set
	 */
	public void setAendPort(Port aendPort) {
		this.aendPort = aendPort;
	}

	/**
	 * @return the zendPortId
	 */
	public long getZendPortId() {
		return zendPortId;
	}

	/**
	 * @param zendPortId
	 *            the zendPortId to set
	 */
	public void setZendPortId(long zendPortId) {
		this.zendPortId = zendPortId;
	}

	/**
	 * @return the zendPort
	 */
	public Port getZendPort() {
		return zendPort;
	}

	/**
	 * @param zendPort
	 *            the zendPort to set
	 */
	public void setZendPort(Port zendPort) {
		this.zendPort = zendPort;
	}

	/**
	 * @return the aendAreaId
	 */
	public long getAendAreaId() {
		return aendAreaId;
	}

	/**
	 * @param aendAreaId
	 *            the aendAreaId to set
	 */
	public void setAendAreaId(long aendAreaId) {
		this.aendAreaId = aendAreaId;
	}

	/**
	 * @return the aendArea
	 */
	public Location getAendArea() {
		return aendArea;
	}

	/**
	 * @param aendArea
	 *            the aendArea to set
	 */
	public void setAendArea(Location aendArea) {
		this.aendArea = aendArea;
	}

	/**
	 * @return the aendSubareaId
	 */
	public long getAendSubareaId() {
		return aendSubareaId;
	}

	/**
	 * @param aendSubareaId
	 *            the aendSubareaId to set
	 */
	public void setAendSubareaId(long aendSubareaId) {
		this.aendSubareaId = aendSubareaId;
	}

	/**
	 * @return the aendSubarea
	 */
	public Location getAendSubarea() {
		return aendSubarea;
	}

	/**
	 * @param aendSubarea
	 *            the aendSubarea to set
	 */
	public void setAendSubarea(Location aendSubarea) {
		this.aendSubarea = aendSubarea;
	}

	/**
	 * @return the aendDivisionId
	 */
	public long getAendDivisionId() {
		return aendDivisionId;
	}

	/**
	 * @param aendDivisionId
	 *            the aendDivisionId to set
	 */
	public void setAendDivisionId(long aendDivisionId) {
		this.aendDivisionId = aendDivisionId;
	}

	/**
	 * @return the aendDivision
	 */
	public Location getAendDivision() {
		return aendDivision;
	}

	/**
	 * @param aendDivision
	 *            the aendDivision to set
	 */
	public void setAendDivision(Location aendDivision) {
		this.aendDivision = aendDivision;
	}

	/**
	 * @return the aendSubdivisionId
	 */
	public long getAendSubdivisionId() {
		return aendSubdivisionId;
	}

	/**
	 * @param aendSubdivisionId
	 *            the aendSubdivisionId to set
	 */
	public void setAendSubdivisionId(long aendSubdivisionId) {
		this.aendSubdivisionId = aendSubdivisionId;
	}

	/**
	 * @return the aendSubdivision
	 */
	public Location getAendSubdivision() {
		return aendSubdivision;
	}

	/**
	 * @param aendSubdivision
	 *            the aendSubdivision to set
	 */
	public void setAendSubdivision(Location aendSubdivision) {
		this.aendSubdivision = aendSubdivision;
	}

	/**
	 * @return the zendAreaId
	 */
	public long getZendAreaId() {
		return zendAreaId;
	}

	/**
	 * @param zendAreaId
	 *            the zendAreaId to set
	 */
	public void setZendAreaId(long zendAreaId) {
		this.zendAreaId = zendAreaId;
	}

	/**
	 * @return the zendArea
	 */
	public Location getZendArea() {
		return zendArea;
	}

	/**
	 * @param zendArea
	 *            the zendArea to set
	 */
	public void setZendArea(Location zendArea) {
		this.zendArea = zendArea;
	}

	/**
	 * @return the zendSubareaId
	 */
	public long getZendSubareaId() {
		return zendSubareaId;
	}

	/**
	 * @param zendSubareaId
	 *            the zendSubareaId to set
	 */
	public void setZendSubareaId(long zendSubareaId) {
		this.zendSubareaId = zendSubareaId;
	}

	/**
	 * @return the zendSubarea
	 */
	public Location getZendSubarea() {
		return zendSubarea;
	}

	/**
	 * @param zendSubarea
	 *            the zendSubarea to set
	 */
	public void setZendSubarea(Location zendSubarea) {
		this.zendSubarea = zendSubarea;
	}

	/**
	 * @return the zendDivisionId
	 */
	public long getZendDivisionId() {
		return zendDivisionId;
	}

	/**
	 * @param zendDivisionId
	 *            the zendDivisionId to set
	 */
	public void setZendDivisionId(long zendDivisionId) {
		this.zendDivisionId = zendDivisionId;
	}

	/**
	 * @return the zendDivision
	 */
	public Location getZendDivision() {
		return zendDivision;
	}

	/**
	 * @param zendDivision
	 *            the zendDivision to set
	 */
	public void setZendDivision(Location zendDivision) {
		this.zendDivision = zendDivision;
	}

	/**
	 * @return the zendSubdivisionId
	 */
	public long getZendSubdivisionId() {
		return zendSubdivisionId;
	}

	/**
	 * @param zendSubdivisionId
	 *            the zendSubdivisionId to set
	 */
	public void setZendSubdivisionId(long zendSubdivisionId) {
		this.zendSubdivisionId = zendSubdivisionId;
	}

	/**
	 * @return the zendSubdivision
	 */
	public Location getZendSubdivision() {
		return zendSubdivision;
	}

	/**
	 * @param zendSubdivision
	 *            the zendSubdivision to set
	 */
	public void setZendSubdivision(Location zendSubdivision) {
		this.zendSubdivision = zendSubdivision;
	}

	/**
	 * @return the aendSiteId
	 */
	public long getAendSiteId() {
		return aendSiteId;
	}

	/**
	 * @param aendSiteId
	 *            the aendSiteId to set
	 */
	public void setAendSiteId(long aendSiteId) {
		this.aendSiteId = aendSiteId;
	}

	/**
	 * @return the aendSite
	 */
	public Location getAendSite() {
		return aendSite;
	}

	/**
	 * @param aendSite
	 *            the aendSite to set
	 */
	public void setAendSite(Location aendSite) {
		this.aendSite = aendSite;
	}

	/**
	 * @return the aendRoomId
	 */
	public long getAendRoomId() {
		return aendRoomId;
	}

	/**
	 * @param aendRoomId
	 *            the aendRoomId to set
	 */
	public void setAendRoomId(long aendRoomId) {
		this.aendRoomId = aendRoomId;
	}

	/**
	 * @return the aendRoom
	 */
	public Location getAendRoom() {
		return aendRoom;
	}

	/**
	 * @param aendRoom
	 *            the aendRoom to set
	 */
	public void setAendRoom(Location aendRoom) {
		this.aendRoom = aendRoom;
	}

	/**
	 * @return the aendDeviceId
	 */
	public long getAendDeviceId() {
		return aendDeviceId;
	}

	/**
	 * @param aendDeviceId
	 *            the aendDeviceId to set
	 */
	public void setAendDeviceId(long aendDeviceId) {
		this.aendDeviceId = aendDeviceId;
	}

	/**
	 * @return the aendDevice
	 */
	public Device getAendDevice() {
		return aendDevice;
	}

	/**
	 * @param aendDevice
	 *            the aendDevice to set
	 */
	public void setAendDevice(Device aendDevice) {
		this.aendDevice = aendDevice;
	}

	/**
	 * @return the zendSiteId
	 */
	public long getZendSiteId() {
		return zendSiteId;
	}

	/**
	 * @param zendSiteId
	 *            the zendSiteId to set
	 */
	public void setZendSiteId(long zendSiteId) {
		this.zendSiteId = zendSiteId;
	}

	/**
	 * @return the zendSite
	 */
	public Location getZendSite() {
		return zendSite;
	}

	/**
	 * @param zendSite
	 *            the zendSite to set
	 */
	public void setZendSite(Location zendSite) {
		this.zendSite = zendSite;
	}

	/**
	 * @return the zendRoomId
	 */
	public long getZendRoomId() {
		return zendRoomId;
	}

	/**
	 * @param zendRoomId
	 *            the zendRoomId to set
	 */
	public void setZendRoomId(long zendRoomId) {
		this.zendRoomId = zendRoomId;
	}

	/**
	 * @return the zendRoom
	 */
	public Location getZendRoom() {
		return zendRoom;
	}

	/**
	 * @param zendRoom
	 *            the zendRoom to set
	 */
	public void setZendRoom(Location zendRoom) {
		this.zendRoom = zendRoom;
	}

	/**
	 * @return the zendDeviceId
	 */
	public long getZendDeviceId() {
		return zendDeviceId;
	}

	/**
	 * @param zendDeviceId
	 *            the zendDeviceId to set
	 */
	public void setZendDeviceId(long zendDeviceId) {
		this.zendDeviceId = zendDeviceId;
	}

	/**
	 * @return the zendDevice
	 */
	public Device getZendDevice() {
		return zendDevice;
	}

	/**
	 * @param zendDevice
	 *            the zendDevice to set
	 */
	public void setZendDevice(Device zendDevice) {
		this.zendDevice = zendDevice;
	}

	/**
	 * @return the ordinal
	 */
	public int getOrdinal() {
		return ordinal;
	}

	/**
	 * @param ordinal
	 *            the ordinal to set
	 */
	public void setOrdinal(int ordinal) {
		this.ordinal = ordinal;
	}

}
